package com.foreverwin.jzymes.report.cpk.mapper;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface CPKReportMapper {

    /**
     * 查询fail测量数据
     * @param site
     * @param device
     * @param type
     * @param sn
     * @param start
     * @param end
     * @return
     */
    public List<Map<String,Object>> findCPKFailCountByReport ( @Param("site") String site ,@Param("device")String device,@Param("type")String type,@Param("sn")String sn ,@Param("start")Date start ,@Param("end")Date end  );

    /**
     * 查找测量项数据
     * @param group
     * @param fail
     * @return
     */
    public Map<String,Object> findFaiDataByname( @Param( "group" )String group,@Param("fail")String fail );

   }
